package org.example.travel_web.dto.category;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import org.example.travel_web.enums.Type;

import java.util.List;

@Data
@Schema(description = "删除类别请求")
public class DelReq {
    @Schema(description = "类别id列表")
    @NotNull(message = "类别id列表不能为空")
    private List<Integer> categoryIds;
    @Schema(description = "类别类型")
    private Type type;
}
